﻿using MediatR;
using System;
using System.Collections.Generic;
using System.Text;
using Lrd.Template.Core.Infrastructure.Extensions;

namespace Lrd.Template.Core.Infrastructure.EntityHistory
{
    /// <summary>
    /// 审计实体通知类型
    /// </summary>
   public  class AuditEntityEntryNotification : INotification
    {

        public AuditEntityEntryNotification(IList<AuditEntityEntry> auditEntities)
        {
            auditEntities.NotNull(nameof(auditEntities));
            AuditEntities = auditEntities;
        }

        public IEnumerable<AuditEntityEntry> AuditEntities { get; }
    }
}
